home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Shareware
/
IDimager Personal 4.2.0.3
/
setup_IDimager_Personal_V4.exe
/
{app}
/
web
/
modules
/
resulttable.psc
< prev
next >
Wrap
Text File
|
2008-06-09
|
810b
|
30 lines
%code
%include storeddata.inc %/include
%include resulttable.inc %/include
var
AItems: TCatalogItems;
APage: Integer;
ACount: Integer;
ASize: Integer;
begin
if not FindStoredData (Request.Params.Values['ds'], AItems, False) then
exit;
APage := 1;
if IsValidNumberString(Request.Params.Values['page'], False) then
APage := StrToInt(Request.Params.Values['page']);
ACount := 0;
if IsValidNumberString(Request.Params.Values['count'], False) then
ACount := StrToInt(Request.Params.Values['count']);
ASize := 0;
if IsValidNumberString(Request.Params.Values['thumbsize'], False) then
ASize := StrToInt(Request.Params.Values['thumbsize']);
result := IncludeResultTable (AItems, Request.Params.Values['ds'], APage, ACount, ASize);
end;
%/code